/*
 * @Author: your name
 * @Date: 2021-03-14 16:04:23
 * @LastEditTime: 2021-03-14 16:30:59
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \demo-tsx\src\hooks\useForm.ts
 */
import { ref } from 'vue';
import { FormSchema } from 'comps/form';
export const useForm = (): any => {
  const garbageForm = ref<FormSchema[]>([
    { key: 'custCode', label: '客户代码', component: 'Input' },
    { key: 'custName', label: '客户名称', component: 'Input' },
    { key: 'status', label: '客户状态', component: 'Select' },
    { key: 'contactsPhone', label: '联系电话', component: 'Input' },
  ]);

  return {
    garbageForm,
  };
};
